package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.RoomInfo;
import com.atguigu.lease.web.app.vo.room.RoomDetailVo;
import com.atguigu.lease.web.app.vo.room.RoomItemVo;
import com.atguigu.lease.web.app.vo.room.RoomQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author liubo
* @description 针对表【room_info(房间信息表)】的数据库操作Service
* @createDate 2023-07-26 11:12:39
*/
public interface RoomInfoService extends IService<RoomInfo> {


    /**
     * @author gengjian
     * @date 2024/12/12 23:21:53
     * 分页查询房间vo
     */
    void pageRoomItemVoByQuery(IPage<RoomItemVo> iPage, RoomQueryVo queryVo);

    /**
     * @author gengjian
     * @date 2024/12/15 16:29:20
     * 根据公寓id分页查询房间列表vo
     */
    void pageItemByApartmentId(IPage<RoomItemVo> page, Long id);

    /**
     * @author gengjian
     * @date 2024/12/15 17:58:30
     * 根据id获取房间的详细信息
     */
    RoomDetailVo getDetailById(Long id);
}
